package com.jmyd.coupon.server.mapper;
import com.jmyd.coupon.server.domain.dto.SceneActivityQueryDto;
import com.jmyd.coupon.server.domain.po.SceneActivity;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author samphin
 * @since 2021/7/14 16:15
 */
public interface SceneActivityMapper extends Mapper<SceneActivity> {
    int batchInsert(@Param("list") List<SceneActivity> list);

    int insertOrUpdate(SceneActivity record);

    int insertOrUpdateSelective(SceneActivity record);

    List<SceneActivity> selectList(SceneActivityQueryDto queryDto);
}